#!/bin/sh
#If stop command is defined use it
if ! test -z "$MYCROFT_STOP_CMD"; then
	$MYCROFT_STOP_CMD
else
	# Use default git install
	cd "${MYCROFT_CORE_DIR}"|| exit
	./stop-mycroft.sh
fi
